<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>AmpleHarvest: JsonSchema Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">AmpleHarvest
   &#160;<span id="projectnumber">0.0.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_json_schema.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">JsonSchema Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="JsonSchema" -->
<p><a href="class_json_schema-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#a5d878e85b6882633ad1d4478677f253a">_validate</a> ($instance, $schema=null, $_changing)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#acfdbd24b16deff6ecec87bdfacabe27d">adderror</a> ($path, $message)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#ab98c35159157b4edb131b3911e90aa8d">checkArray</a> ($value, $schema, $path, $i, $_changing)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#af8b18fea77a037e10c9f77642e0e37d7">checkObj</a> ($instance, $objTypeDef, $path, $additionalProp, $_changing)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#a0738b137ad9368b0c5e122ffa8459396">checkProp</a> ($value, $schema, $path, $i= '', $_changing=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#a6254a1138c40ee962b6765cf178ffe1b">checkType</a> ($type, &amp;$value, $path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Take Care: Value is being passed by ref to continue validation with proper format.  <a href="#a6254a1138c40ee962b6765cf178ffe1b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#afdb2de6427c3e589c38b24d196726a58">checkTypeCast</a> ($type, &amp;$value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Take Care: Value is being passed by ref to continue validation with proper format.  <a href="#afdb2de6427c3e589c38b24d196726a58"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#aa3a9b82786e1f89dd9a5eb8ba85a39f4">incrementPath</a> ($path, $i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#ac0d5ae4a5fb0e57d4c3e3f0c820680cf">validate</a> ($instance, $schema=null, $formatValidator=null)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Validates a php object against a schema.  <a href="#ac0d5ae4a5fb0e57d4c3e3f0c820680cf"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#a6a8efafc15ce48413e14fd69571f60f7">CHECK_MODE_NORMAL</a> = 1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#a12abbfb11249b43f604323d17dbed386">CHECK_MODE_TYPE_CAST</a> = 2</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#a9457604a7f4518a25fd8edf80ebbd400">$checkMode</a> = self::CHECK_MODE_NORMAL</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#ab24faf4aa647cdcee494fc48524ad4ff">$errors</a> = array()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_schema.html#a603ec5d6f8eb47810da7ae16954ee248">$formatValidator</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00029">29</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5d878e85b6882633ad1d4478677f253a"></a><!-- doxytag: member="JsonSchema::_validate" ref="a5d878e85b6882633ad1d4478677f253a" args="($instance, $schema=null, $_changing)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static _validate </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>schema</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>_changing</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00064">64</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

<p>References <a class="el" href="_json_schema_8php_source.html#l00032">$errors</a>, and <a class="el" href="_json_schema_8php_source.html#l00166">checkProp()</a>.</p>

<p>Referenced by <a class="el" href="_json_schema_8php_source.html#l00052">validate()</a>.</p>

</div>
</div>
<a class="anchor" id="acfdbd24b16deff6ecec87bdfacabe27d"></a><!-- doxytag: member="JsonSchema::adderror" ref="acfdbd24b16deff6ecec87bdfacabe27d" args="($path, $message)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static adderror </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>message</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00299">299</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

<p>Referenced by <a class="el" href="_json_schema_8php_source.html#l00108">checkArray()</a>, and <a class="el" href="_json_schema_8php_source.html#l00166">checkProp()</a>.</p>

</div>
</div>
<a class="anchor" id="ab98c35159157b4edb131b3911e90aa8d"></a><!-- doxytag: member="JsonSchema::checkArray" ref="ab98c35159157b4edb131b3911e90aa8d" args="($value, $schema, $path, $i, $_changing)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static checkArray </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>schema</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>_changing</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00108">108</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

<p>References <a class="el" href="_json_schema_8php_source.html#l00299">adderror()</a>, and <a class="el" href="_json_schema_8php_source.html#l00166">checkProp()</a>.</p>

<p>Referenced by <a class="el" href="_json_schema_8php_source.html#l00166">checkProp()</a>.</p>

</div>
</div>
<a class="anchor" id="af8b18fea77a037e10c9f77642e0e37d7"></a><!-- doxytag: member="JsonSchema::checkObj" ref="af8b18fea77a037e10c9f77642e0e37d7" args="($instance, $objTypeDef, $path, $additionalProp, $_changing)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static checkObj </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>objTypeDef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>additionalProp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>_changing</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00425">425</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

<p>References <a class="el" href="_json_schema_8php_source.html#l00032">$errors</a>, and <a class="el" href="_json_schema_8php_source.html#l00166">checkProp()</a>.</p>

<p>Referenced by <a class="el" href="_json_schema_8php_source.html#l00166">checkProp()</a>.</p>

</div>
</div>
<a class="anchor" id="a0738b137ad9368b0c5e122ffa8459396"></a><!-- doxytag: member="JsonSchema::checkProp" ref="a0738b137ad9368b0c5e122ffa8459396" args="($value, $schema, $path, $i= '', $_changing=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static checkProp </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>schema</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>i</em> = <code>''</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>_changing</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00166">166</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

<p>References <a class="el" href="_json_schema_8php_source.html#l00032">$errors</a>, <a class="el" href="_json_schema_8php_source.html#l00299">adderror()</a>, <a class="el" href="_json_schema_8php_source.html#l00108">checkArray()</a>, <a class="el" href="_json_schema_8php_source.html#l00425">checkObj()</a>, <a class="el" href="_json_schema_8php_source.html#l00311">checkType()</a>, and <a class="el" href="_json_schema_8php_source.html#l00084">incrementPath()</a>.</p>

<p>Referenced by <a class="el" href="_json_schema_8php_source.html#l00064">_validate()</a>, <a class="el" href="_json_schema_8php_source.html#l00108">checkArray()</a>, <a class="el" href="_json_schema_8php_source.html#l00425">checkObj()</a>, and <a class="el" href="_json_schema_8php_source.html#l00311">checkType()</a>.</p>

</div>
</div>
<a class="anchor" id="a6254a1138c40ee962b6765cf178ffe1b"></a><!-- doxytag: member="JsonSchema::checkType" ref="a6254a1138c40ee962b6765cf178ffe1b" args="($type, &amp;$value, $path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static checkType </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>path</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Take Care: Value is being passed by ref to continue validation with proper format. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>array </dd></dl>

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00311">311</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

<p>References <a class="el" href="_json_schema_8php_source.html#l00032">$errors</a>, <a class="el" href="_json_schema_8php_source.html#l00166">checkProp()</a>, and <a class="el" href="_json_schema_8php_source.html#l00399">checkTypeCast()</a>.</p>

<p>Referenced by <a class="el" href="_json_schema_8php_source.html#l00166">checkProp()</a>.</p>

</div>
</div>
<a class="anchor" id="afdb2de6427c3e589c38b24d196726a58"></a><!-- doxytag: member="JsonSchema::checkTypeCast" ref="afdb2de6427c3e589c38b24d196726a58" args="($type, &amp;$value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static checkTypeCast </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Take Care: Value is being passed by ref to continue validation with proper format. </p>

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00399">399</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

<p>Referenced by <a class="el" href="_json_schema_8php_source.html#l00311">checkType()</a>.</p>

</div>
</div>
<a class="anchor" id="aa3a9b82786e1f89dd9a5eb8ba85a39f4"></a><!-- doxytag: member="JsonSchema::incrementPath" ref="aa3a9b82786e1f89dd9a5eb8ba85a39f4" args="($path, $i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static incrementPath </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00084">84</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

<p>Referenced by <a class="el" href="_json_schema_8php_source.html#l00166">checkProp()</a>.</p>

</div>
</div>
<a class="anchor" id="ac0d5ae4a5fb0e57d4c3e3f0c820680cf"></a><!-- doxytag: member="JsonSchema::validate" ref="ac0d5ae4a5fb0e57d4c3e3f0c820680cf" args="($instance, $schema=null, $formatValidator=null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static validate </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>schema</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>formatValidator</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Validates a php object against a schema. </p>
<p>Both the php object and the schema are supposed to be a result of a json_decode call. The validation works as defined by the schema proposal in <a href="http://www.json.com/json-schema-proposal/">http://www.json.com/json-schema-proposal/</a></p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">StdClass</td><td class="paramname">$instance</td><td></td></tr>
    <tr><td class="paramtype">StdClass</td><td class="paramname">$schema</td><td></td></tr>
    <tr><td class="paramtype">JsonFormatValidator</td><td class="paramname">$formatValidator</td><td>an optional class that have methods to validate the format definitions. If this is null, so format validation will not be applied, but if its true, then the validation will throw an error if any format defined on the schema is not supported by the validator. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>unknown </dd></dl>

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00052">52</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

<p>References <a class="el" href="_json_schema_8php_source.html#l00033">$formatValidator</a>, and <a class="el" href="_json_schema_8php_source.html#l00064">_validate()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a9457604a7f4518a25fd8edf80ebbd400"></a><!-- doxytag: member="JsonSchema::$checkMode" ref="a9457604a7f4518a25fd8edf80ebbd400" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$checkMode = self::CHECK_MODE_NORMAL<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00037">37</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

</div>
</div>
<a class="anchor" id="ab24faf4aa647cdcee494fc48524ad4ff"></a><!-- doxytag: member="JsonSchema::$errors" ref="ab24faf4aa647cdcee494fc48524ad4ff" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$errors = array()<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00032">32</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

<p>Referenced by <a class="el" href="_json_schema_8php_source.html#l00064">_validate()</a>, <a class="el" href="_json_schema_8php_source.html#l00425">checkObj()</a>, <a class="el" href="_json_schema_8php_source.html#l00166">checkProp()</a>, and <a class="el" href="_json_schema_8php_source.html#l00311">checkType()</a>.</p>

</div>
</div>
<a class="anchor" id="a603ec5d6f8eb47810da7ae16954ee248"></a><!-- doxytag: member="JsonSchema::$formatValidator" ref="a603ec5d6f8eb47810da7ae16954ee248" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$formatValidator<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00033">33</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

<p>Referenced by <a class="el" href="_json_schema_8php_source.html#l00052">validate()</a>.</p>

</div>
</div>
<a class="anchor" id="a6a8efafc15ce48413e14fd69571f60f7"></a><!-- doxytag: member="JsonSchema::CHECK_MODE_NORMAL" ref="a6a8efafc15ce48413e14fd69571f60f7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_json_schema.html#a6a8efafc15ce48413e14fd69571f60f7">CHECK_MODE_NORMAL</a> = 1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00035">35</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

</div>
</div>
<a class="anchor" id="a12abbfb11249b43f604323d17dbed386"></a><!-- doxytag: member="JsonSchema::CHECK_MODE_TYPE_CAST" ref="a12abbfb11249b43f604323d17dbed386" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_json_schema.html#a12abbfb11249b43f604323d17dbed386">CHECK_MODE_TYPE_CAST</a> = 2</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_json_schema_8php_source.html#l00036">36</a> of file <a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_json_schema_8php_source.html">JsonSchema.php</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_json_schema.html">JsonSchema</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Mon Jan 23 2012 13:34:26 for AmpleHarvest by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
